import App from './App'
import Tools from '@/util/Tools';
import share from '@/util/share.js'
Vue.mixin(share)
// #ifndef VUE3
import Vue from 'vue'
import amapFile from'@/lib/amap-wx.130.js';
//将其绑定到vue原型上  //使用 this.$myAmapFun访问
let myAmapFun = new amapFile.AMapWX({ key: '8b9ba2b3e7793380b786ec339399633e' });
Vue.prototype.$myAmapFun = myAmapFun
Vue.config.productionTip = false

Vue.prototype.$tools = Tools;
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif